package com.yunji.order.event;

import com.yunji.base.enums.ScaleBelongTypeEnum;
import com.yunji.coupon.dto.OrderScaleDTO;
import com.yunji.order.domain.OrderDO;
import lombok.Data;

import java.util.Date;
import java.util.Map;

/**
 * @author : peter-zhu
 * @date : 2025/3/22 16:58
 * @description : TODO
 **/
@Data
public class OrderScaleEvent {
    private OrderDO orderDO;
    private Date payTime;
    private String payCode;
    Map<ScaleBelongTypeEnum, OrderScaleDTO> scaleMap;

    public OrderScaleEvent(OrderDO orderDO, Map<ScaleBelongTypeEnum, OrderScaleDTO> scaleMap, String payCode, Date payTime) {
        this.orderDO = orderDO;
        this.scaleMap = scaleMap;
        this.payCode = payCode;
        this.payTime = payTime;
    }
}
